package com.lc.qianrenshiye.dialog;

import android.app.Dialog;
import android.content.Context;
import android.view.ViewGroup;

import com.lc.qianrenshiye.R;
import com.zcx.helper.bound.BoundViewHelper;
import com.zcx.helper.scale.ScaleScreenHelperFactory;

/**
 * Created by Administrator on 2016/3/14.
 */
public class BaseDialog extends Dialog {

    public BaseDialog(Context context) {

        super(context, R.style.BaseDialog);

    }

    @Override
    public void setContentView(int layoutResID) {

        super.setContentView(layoutResID);
        BoundViewHelper.boundView(this, ScaleScreenHelperFactory.getInstance().loadView((ViewGroup) getWindow().getDecorView()));


    }

}
